<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tbody>
		<tr>
			<td colspan="3">
				<div class="blue-text16" style="margin: 0px;">
					<s:text name="manageCreditCard.para1"></s:text>
				</div>
			</td>
			<td>


				<a href="/printeverywhere/addCreditCard.htm"><b><s:text name="manageCreditCard.addcreditcard"></s:text> </b> </a>
			</td>
		</tr>
	</tbody>
</table>
<div class="header-separator-bg" style="margin: 10px 5px 17px 0px;"></div>
<div class="common-text" style="margin: 0px 0px 10px;">


	<table>

		<tbody>
			<tr>
				<td width="100%" class="common-text">

	<s:text name="manageCreditCard.para2" ></s:text>

				</td>
			</tr>
			<tr>
				<td>
					<s:actionmessage cssClass="error-text"/>
					<s:actionerror cssClass="error-text"/>
					<s:fielderror cssClass="error-text"></s:fielderror>
				</td>
			</tr>
			<tr>
				<td width="100%" class="common-text">
					<b><s:text name="manageCreditCard.DefaultCard"></s:text> </b> <s:property value="user.creditcard.nameOnCard"/>
				</td>
			</tr>
			<tr>
				<td width="100%" class="common-text">
					<s:text name="manageCreditCard.para3"></s:text>
				</td>
			</tr>
			<tr>
				<td width="100%">


					<s:form id="defaultCreditCard" name="defaultCreditCard"  theme="simple"
						onsubmit="return true;"
						action="defaultCreditCard.htm" method="post">
						<table>
							<tr>
								<td>
									<s:select list="creditCardList" name="defaultCardId"
										value="%{#session.user.creditcard.creaditCardId}"
										listKey="creaditCardId" listValue="nameOnCard" theme="simple"
										cssClass="search-menu" />
								</td>

								<td>

									<table border="0" cellpadding="0" cellspacing="0">
										<tbody>
											<tr>
												<td class="btn-grey-left1"></td>
												<td class="btn-grey-middle1">
													<s:submit
														value="%{getText('manageCreditCard.DefaultCard')}"
														cssClass="submit-btn-common"></s:submit>
												</td>
												<td class="btn-grey-right1"></td>
											</tr>
										</tbody>
									</table>
								</td>
							</tr>
						</table>
					</s:form>




				</td>
			</tr>
			<tr>
				<td width="100%" class="common-text">
					<b> <s:text name="manageCreditCard.Removecreditcard"></s:text>    </b>
				</td>
			</tr>

			<tr>
				<td width="100%" class="common-text">
					<s:text name="manageCreditCard.para4"></s:text>
				</td>

			</tr>
			<tr>
				<td width="100%">

					<s:form id="deleteCreditCard" name="deleteCreditCard" theme="simple"
						onsubmit="return wantToDelete('Do you want to delete this Credit Card?');"
						action="deleteCreditCard.htm" method="post">
						<table>
							<tr>
								<td>
									<s:select list="creditCardList" name="defaultCardId"
										value="%{#session.user.creditcard.creaditCardId}"
										listKey="creaditCardId" listValue="%{nameOnCard}"
										theme="simple" cssClass="search-menu" />
								</td>
								<td>
									<table border="0" cellpadding="0" cellspacing="0">
										<tbody>
											<tr>
												<td class="btn-grey-left1"></td>
												<td class="btn-grey-middle1">
													<s:submit value="%{getText('manageCreditCard.DeleteCard')}"
														cssClass="submit-btn-common"></s:submit>
												</td>
												<td class="btn-grey-right1"></td>
											</tr>
										</tbody>
									</table>
								</td>
							</tr>
						</table>

					</s:form>

				</td>
			</tr>

		</tbody>
	</table>